<template>
    <div class="customer">
        <!-- 头部标题组件-->
        <edit-title>
            <template #mytitle>编辑客户详情</template>
            <template #btn>
                <el-button type="primary" @click="submit">保存</el-button>
            </template>
        </edit-title> 
        <!-- 引入编辑组件 -->
        <edit-input></edit-input>
    </div>
</template>

<script>
import myhead from '../../../components/myhead.vue'
import EditInput from './edit-input.vue';
import EditTitle from './edit-title.vue';
export default {
       components: { myhead, EditTitle, EditInput},
       methods:{
         submit(){
        // 点击保存回到列表
        this.$router.push("/home/customerList")
    }
       }
  }
</script>

<style lang="less" scoped>
    .customer{
        background-color: #fff;
    }
</style>